package org.boulderfoodrescue.webapp.client.old.pickups;

import org.boulderfoodrescue.webapp.client.googlemap.GoogleMap;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class SideBarPanel extends Composite{

  private static SideBarPanelUiBinder uiBinder = GWT
      .create(SideBarPanelUiBinder.class);

  interface SideBarPanelUiBinder extends UiBinder<Widget, SideBarPanel> {
  }

  public SideBarPanel(GoogleMap gMap) {
    this.gMap = gMap;
    submittedCellTable = new PickupsCellTable(gMap);
    initWidget(uiBinder.createAndBindUi(this));
  }
  @UiField (provided = true)
  PickupsCellTable submittedCellTable;
  protected GoogleMap gMap;
}
